package com.ruoyi.production.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 生产绩效对象 work_report_components
 *
 * @author ruoyi
 * @date 2022-09-05
 */
public class WorkReportComponents extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    private Long id;

    /**
     * 报工编号
     */
    @Excel(name = "报工编号")
    private String workReportNo;

    /**
     * 构件名称
     */
    @Excel(name = "构件名称")
    private String compomentName;

    /**
     * 零件编号
     */
    @Excel(name = "零件编号")
    private String partsNo;

    /**
     * 零件名称
     */
    @Excel(name = "零件名称")
    private String partsName;

    /**
     * 规格
     */
    @Excel(name = "规格")
    private String specifications;

    /**
     * 材质
     */
    @Excel(name = "材质")
    private String texture;

    /**
     * 长度（mm）
     */
    @Excel(name = "长度", readConverterExp = "m=m")
    private Long length;

    /**
     * 单毛重量
     */
    @Excel(name = "单毛重量")
    private Long grossWeight;

    /**
     * 单净重量
     */
    @Excel(name = "单净重量")
    private Long netWeight;

    /**
     * 报工数量
     */
    @Excel(name = "报工数量")
    private Long reportingCount;

    /**
     * 报工重量
     */
    @Excel(name = "报工重量")
    private Long reportWeight;

    /**
     * 不合格数量
     */
    @Excel(name = "不合格数量")
    private Long unqualifiedQuantity;

    /**
     * 产出数量
     */
    @Excel(name = "产出数量")
    private Long outputQuantity;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setWorkReportNo(String workReportNo) {
        this.workReportNo = workReportNo;
    }

    public String getWorkReportNo() {
        return workReportNo;
    }

    public void setCompomentName(String compomentName) {
        this.compomentName = compomentName;
    }

    public String getCompomentName() {
        return compomentName;
    }

    public void setPartsNo(String partsNo) {
        this.partsNo = partsNo;
    }

    public String getPartsNo() {
        return partsNo;
    }

    public void setPartsName(String partsName) {
        this.partsName = partsName;
    }

    public String getPartsName() {
        return partsName;
    }

    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }

    public String getSpecifications() {
        return specifications;
    }

    public void setTexture(String texture) {
        this.texture = texture;
    }

    public String getTexture() {
        return texture;
    }

    public void setLength(Long length) {
        this.length = length;
    }

    public Long getLength() {
        return length;
    }

    public void setGrossWeight(Long grossWeight) {
        this.grossWeight = grossWeight;
    }

    public Long getGrossWeight() {
        return grossWeight;
    }

    public void setNetWeight(Long netWeight) {
        this.netWeight = netWeight;
    }

    public Long getNetWeight() {
        return netWeight;
    }

    public void setReportingCount(Long reportingCount) {
        this.reportingCount = reportingCount;
    }

    public Long getReportingCount() {
        return reportingCount;
    }

    public void setReportWeight(Long reportWeight) {
        this.reportWeight = reportWeight;
    }

    public Long getReportWeight() {
        return reportWeight;
    }

    public void setUnqualifiedQuantity(Long unqualifiedQuantity) {
        this.unqualifiedQuantity = unqualifiedQuantity;
    }

    public Long getUnqualifiedQuantity() {
        return unqualifiedQuantity;
    }

    public void setOutputQuantity(Long outputQuantity) {
        this.outputQuantity = outputQuantity;
    }

    public Long getOutputQuantity() {
        return outputQuantity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("workReportNo", getWorkReportNo())
                .append("compomentName", getCompomentName())
                .append("partsNo", getPartsNo())
                .append("partsName", getPartsName())
                .append("specifications", getSpecifications())
                .append("texture", getTexture())
                .append("length", getLength())
                .append("grossWeight", getGrossWeight())
                .append("netWeight", getNetWeight())
                .append("reportingCount", getReportingCount())
                .append("reportWeight", getReportWeight())
                .append("unqualifiedQuantity", getUnqualifiedQuantity())
                .append("outputQuantity", getOutputQuantity())
                .toString();
    }
}
